<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">

    <title></title>
</head>
<body ng-app>
<div ng-controller="control">
   <p ng-bind="aa()"></p>
</div>
<script>
    var control = function($scope){
        $scope.aa=function(){
            alert(11)
            return 123;
        }
    }
</script>
<script src="../jsLib/angular-1.3.0.js"></script></body>
</html>